package com.ks.service;

import com.ks.base.BaseDao;
import com.ks.base.BaseService;
import com.ks.dao.QuestionSinglemodeDao;
import com.ks.entity.QuestionSinglemode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("questionSinglemodeService")
public class QuestionSinglemodeService<T> extends BaseService<T> {

    @Autowired
    private QuestionSinglemodeDao questionSinglemodeDao;
    @Override
    public BaseDao<T> getDao() {
        return null;
    }

    public List<QuestionSinglemode> findAll(Object o){
        return questionSinglemodeDao.findAll(o);
    }

    public QuestionSinglemode findAnswerById(Object o){
        return questionSinglemodeDao.findAnswerById(o);
    }
}